// 列表
export interface ListDatas {
  id: number;
  name: string;
  pid: number;
  children?: ListDatas[];
}

export interface ListResult {
  counts: number;
  list: ListDatas[];
  pageSize: number;
}

// 添加
export interface AddParams {
  id?: number;
  name: string;
  pid?: number;
}
